package cn.inface.cn.jiekou4;

public class BloodWarrior extends Warrior{
    @Override
    public int injure(int x) {
        this.boold-=x;
        if(x<MAX/2){
            System.out.println("血量值警告！！！");
        }
        return this.injure(x);
    }
}
